﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;

namespace HungTrung
{
    public class Ro
    {
        private PictureBox _pictureBox;
        public int Top
        {
            set { _pictureBox.Top = value; }
            get { return _pictureBox.Top; }
        }

        public int Left
        {
            set { _pictureBox.Left = value; }
            get { return _pictureBox.Left; }
        }

        public Ro()
        {
            _pictureBox = new PictureBox();
            _pictureBox.Size = new Size(95, 76);
            _pictureBox.SizeMode = PictureBoxSizeMode.StretchImage;
            _pictureBox.Image = Properties.Resources.Ro;
            _pictureBox.BackColor = Color.Transparent;  
                        
        }
        public void AddtoForm(Form form)
        { 
            form.Controls.Add(_pictureBox); 
        }
    }
}
